package com.netposa.datawarehouse.aggregator.service;

import com.alibaba.fastjson.JSONObject;
import com.netposa.datawarehouse.aggregator.portrait.model.PortraitCondition;
import com.netposa.datawarehouse.aggregator.portrait.model.PortraitSearchCondition;
import com.netposa.datawarehouse.aggregator.web.model.ExcludeCondition;
import com.netposa.datawarehouse.aggregator.web.vo.DetectedResult;
import com.netposa.datawarehouse.aggregator.web.vo.DetectionResult;
import com.netposa.datawarehouse.aggregator.web.vo.FeatureDetectParam;
import com.netposa.datawarehouse.aggregator.web.vo.FeatureSearchParam;
import com.netposa.datawarehouse.aggregator.web.vo.FileSearchParam;
import com.netposa.vdt.pccclient.exception.PccHandleException;
import java.io.File;
import java.util.List;
import org.apache.thrift.TException;
import org.springframework.web.multipart.MultipartFile;

public interface ImgSearchService {
   byte[] convertMultipartFileToBytes(MultipartFile var1);

   DetectionResult featureDetectNew(FeatureDetectParam var1) throws PccHandleException, TException;

   List fullSearch(FeatureSearchParam var1) throws TException;

   void cleanSession(String var1);

   void cleanDetect(String var1, String var2);

   DetectedResult detectAllFeature(FeatureDetectParam var1) throws PccHandleException, TException;

   FeatureSearchParam excludeUnselectedFeatures(ExcludeCondition var1);

   JSONObject userAuth(String var1, String var2);

   JSONObject checkFace(File var1, String var2, String var3, String var4);

   JSONObject detectFace(PortraitCondition var1);

   JSONObject portraitImageSearch(PortraitSearchCondition var1);

   List fullSearchImg(FileSearchParam var1) throws TException;
}
